package com.blog.service;

import com.blog.pojo.User;

public interface UserService {

    User checkUser(String username, String password);

    //验证人脸
    User checkFace(String face);
    //注册
    void addUser(String username, String password);
    void registerUser(String username,String email, String password);

    boolean isUserExists(String username);

    boolean isEmailExists(String email);

}
